    res = [];
    for i = 1:length(calcResult)
        ri = calcResult(i,:);
        valmap = ri{1};
        subres = [];
        for j = 1:length(pnums)
            subres = [subres {cell2mat(k(pnums(j))), valmap(cell2mat(k(pnums(j))))}];
        end
        subres = [subres ri{2}];
        res = vertcat(res, subres);
    end
